package com.org.daniel.project.controller.manager;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Daniel
 */
@Controller
@RequestMapping("index")
public class IndexController {

	@RequestMapping(value = "test")
	public String index(Model model){
		model.addAttribute("title", "测试");
		model.addAttribute("atext", "这个冬天不COOL");
		return "index2";
	}

}
